import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';

// 锭子断头报表
export const iotSpinBrokenHeadPage = (params) => getRequest('/spin/spin-broken-head/page', params);

// 锭子断头数报表
export const iotSpinBrokenHeadGetBrokenHeadCountPage = (params) => getRequest('/spin/spin-broken-head/getBrokenHeadCountPage', params);

// 单锭弱捻报表
export const iotSpinWeakTwistPage = (params) => getRequest('/spin/spin-weak-twist/page', params);

// 单锭弱捻数报表
export const iotSpinWeakTwistGetWeakTwistCountPage = (params) => getRequest('/spin/spin-weak-twist/getWeakTwistCountPage', params);
// 千锭时断头报表
export const spinShiftGetThousandIngotsPerHourPage = (params) => getRequest('/spin/shift/getThousandIngotsPerHourPage', params);
// 千锭时断头报表-趋势图
export const spinShiftGetThousandIngotsPerHourTrend = (params) => getRequest('/spin/shift/getThousandIngotsPerHourTrend', params);

// 分页查询单锭断头数报表
export const iotSpinGetBrokenHeadViewPage = (params) => getRequest('/spin/spin-broken-head/getBrokenHeadViewPage', params);

// 分页查询弱捻数详情报表
export const iotSpinGetWeakTwistViewPage = (params) => getRequest('/spin/spin-weak-twist/getWeakTwistViewPage', params);

// 锭子断头排序报表
export const spinSpinBrokenHeadGetBrokenHeadSortViewPage = (params) => getRequest('/spin/spin-broken-head/getBrokenHeadSortViewPage', params);
export const spinSpinBrokenHeadGetBrokenHeadSortSubViewPage = (params) => getRequest('/spin/spin-broken-head/getBrokenHeadSortSubViewPage', params);

// 弱捻断头排序报表
export const spinBrokenHeadWeakTwistSortViewPage = (params) => getRequest('/spin/spin-weak-twist/getWeakTwistSortViewPage', params);
export const spinBrokenHeadWeakTwistSortSubViewPage = (params) => getRequest('/spin/spin-weak-twist/getWeakTwistSortSubViewPage', params);
